package cj.web.marriageSC.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import cj.web.admin.domain.DataTablePage;

/**
 * TODO: add class/table comments
 */
public class SCGoodsItems extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = -6048923818106608254L;
	protected Integer id;
	protected Integer sellerId;
	protected Integer categoryId;
	protected Integer goodsId;
	protected String propValueIds;
	protected String propValueNames;
	protected String name;
	protected String image;
	protected Double orignPrice;
	protected Double discntPrice;
	protected String descs;
	protected Integer inventory;
	protected Integer selledCnt;
	protected Double freight;
	protected String stickAt;
	protected Integer type;
	protected Integer deleteFlag;
	protected String createAt;
	protected String createUser;
	protected String updateAt;
	protected String updateUser;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getSellerId() {
		return sellerId;
	}
	public void setSellerId(Integer sellerId) {
		this.sellerId = sellerId;
	}
	public Integer getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}
	public Integer getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}
	public String getPropValueIds() {
		return propValueIds;
	}
	public void setPropValueIds(String propValueIds) {
		this.propValueIds = propValueIds;
	}
	public String getPropValueNames() {
		return propValueNames;
	}
	public void setPropValueNames(String propValueNames) {
		this.propValueNames = propValueNames;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public Double getOrignPrice() {
		return orignPrice;
	}
	public void setOrignPrice(Double orignPrice) {
		this.orignPrice = orignPrice;
	}
	public Double getDiscntPrice() {
		return discntPrice;
	}
	public void setDiscntPrice(Double discntPrice) {
		this.discntPrice = discntPrice;
	}
	public String getDescs() {
		return descs;
	}
	public void setDescs(String descs) {
		this.descs = descs;
	}
	public Integer getInventory() {
		return inventory;
	}
	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}
	public Integer getSelledCnt() {
		return selledCnt;
	}
	public void setSelledCnt(Integer selledCnt) {
		this.selledCnt = selledCnt;
	}
	public Double getFreight() {
		return freight;
	}
	public void setFreight(Double freight) {
		this.freight = freight;
	}
	public String getStickAt() {
		return stickAt;
	}
	public void setStickAt(String stickAt) {
		this.stickAt = stickAt;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result
				+ ((categoryId == null) ? 0 : categoryId.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + ((descs == null) ? 0 : descs.hashCode());
		result = prime * result
				+ ((discntPrice == null) ? 0 : discntPrice.hashCode());
		result = prime * result + ((freight == null) ? 0 : freight.hashCode());
		result = prime * result + ((goodsId == null) ? 0 : goodsId.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((image == null) ? 0 : image.hashCode());
		result = prime * result
				+ ((inventory == null) ? 0 : inventory.hashCode());
		result = prime * result + ((name == null) ? 0 : name.hashCode());
		result = prime * result
				+ ((orignPrice == null) ? 0 : orignPrice.hashCode());
		result = prime * result
				+ ((propValueIds == null) ? 0 : propValueIds.hashCode());
		result = prime * result
				+ ((propValueNames == null) ? 0 : propValueNames.hashCode());
		result = prime * result
				+ ((selledCnt == null) ? 0 : selledCnt.hashCode());
		result = prime * result
				+ ((sellerId == null) ? 0 : sellerId.hashCode());
		result = prime * result + ((stickAt == null) ? 0 : stickAt.hashCode());
		result = prime * result + ((type == null) ? 0 : type.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		SCGoodsItems other = (SCGoodsItems) obj;
		if (categoryId == null) {
			if (other.categoryId != null)
				return false;
		} else if (!categoryId.equals(other.categoryId))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (descs == null) {
			if (other.descs != null)
				return false;
		} else if (!descs.equals(other.descs))
			return false;
		if (discntPrice == null) {
			if (other.discntPrice != null)
				return false;
		} else if (!discntPrice.equals(other.discntPrice))
			return false;
		if (freight == null) {
			if (other.freight != null)
				return false;
		} else if (!freight.equals(other.freight))
			return false;
		if (goodsId == null) {
			if (other.goodsId != null)
				return false;
		} else if (!goodsId.equals(other.goodsId))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (image == null) {
			if (other.image != null)
				return false;
		} else if (!image.equals(other.image))
			return false;
		if (inventory == null) {
			if (other.inventory != null)
				return false;
		} else if (!inventory.equals(other.inventory))
			return false;
		if (name == null) {
			if (other.name != null)
				return false;
		} else if (!name.equals(other.name))
			return false;
		if (orignPrice == null) {
			if (other.orignPrice != null)
				return false;
		} else if (!orignPrice.equals(other.orignPrice))
			return false;
		if (propValueIds == null) {
			if (other.propValueIds != null)
				return false;
		} else if (!propValueIds.equals(other.propValueIds))
			return false;
		if (propValueNames == null) {
			if (other.propValueNames != null)
				return false;
		} else if (!propValueNames.equals(other.propValueNames))
			return false;
		if (selledCnt == null) {
			if (other.selledCnt != null)
				return false;
		} else if (!selledCnt.equals(other.selledCnt))
			return false;
		if (sellerId == null) {
			if (other.sellerId != null)
				return false;
		} else if (!sellerId.equals(other.sellerId))
			return false;
		if (stickAt == null) {
			if (other.stickAt != null)
				return false;
		} else if (!stickAt.equals(other.stickAt))
			return false;
		if (type == null) {
			if (other.type != null)
				return false;
		} else if (!type.equals(other.type))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("SCGoodsItems [id=").append(id).append(", sellerId=")
				.append(sellerId).append(", categoryId=").append(categoryId)
				.append(", goodsId=").append(goodsId).append(", propValueIds=")
				.append(propValueIds).append(", propValueNames=")
				.append(propValueNames).append(", name=").append(name)
				.append(", image=").append(image).append(", orignPrice=")
				.append(orignPrice).append(", discntPrice=")
				.append(discntPrice).append(", descs=").append(descs)
				.append(", inventory=").append(inventory)
				.append(", selledCnt=").append(selledCnt).append(", freight=")
				.append(freight).append(", stickAt=").append(stickAt)
				.append(", type=").append(type).append(", deleteFlag=")
				.append(deleteFlag).append(", createAt=").append(createAt)
				.append(", createUser=").append(createUser)
				.append(", updateAt=").append(updateAt).append(", updateUser=")
				.append(updateUser).append("]");
		return builder.toString();
	}
}